package com.atguigu.yygh.order.service;

import com.atguigu.yygh.model.order.OrderInfo;
import com.atguigu.yygh.model.order.PaymentInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 支付信息表 服务类
 * </p>
 *
 * @author atguigu
 * @since 2023-06-17
 */
public interface PaymentInfoService extends IService<PaymentInfo> {

    void createPaymentInfo(OrderInfo orderInfo);

    void paySuccess(Long orderId, Map map);

    PaymentInfo getPayment(Long orderId);
}
